package com.bridgeintelligent.tag.customer.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @description
 * @author: grp 2021-01-10 22:44
 **/
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(description = "下发")
public class IssueModel {
    @ApiModelProperty(value = "id",required = true)
    private String id;
    @NotBlank
    private String channelId;
    @NotBlank
    private String issueKey;
    private String issueName;
    @NotBlank
    private String ccis;
    private String directorId;
    @NotBlank
    @ApiModelProperty(value = "客群id",required = true)
    private String customersId;
    @NotBlank
    private String frequency;
    private Date validStart;
    private Date validEnd;
    @NotBlank
    private String fields;
    private String state;
    //周频率下设置的周几
    private String weeks;
}
